package com.rickie.api;

import com.alibaba.cola.dto.SingleResponse;
import com.rickie.dto.data.BizNoRuleCO;
import com.rickie.dto.data.BizNoRuleAddCmd;
import com.rickie.dto.data.BizNoRuleQuery;

import java.util.List;

/**
 * <p>
 * dubbo client api接口定义
 * <p>
 * 示例代码
 * <pre>
 * </pre/>
 *
 * @author InHome
 * @version BME V100R001 2023/03/28
 * @since BME V100R001C40B104
 */
public interface IBizNoRuleService {

    /**
     * 保存业务编码规则
     *
     * @return
     */
    SingleResponse<BizNoRuleCO> save(BizNoRuleAddCmd bizNoRuleDTO);

    /**
     * 查询
     *
     * @param bizNoRuleDTO
     * @return
     */
    List<BizNoRuleCO> findWithPage(BizNoRuleQuery bizNoRuleDTO);
}